package com.neu.mapper;


import com.neu.domain.Product;
import com.neu.dto.ProductDTO;
import com.neu.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<ProductVO> find(ProductDTO productDTO);

    List<ProductVO> selectByShopId(Integer shopId);

    int add(Product product);

    int delete(ProductDTO productDTO);
}
